package com.bdzl.flow.servicefeign.impl;

import com.bdzl.flow.servicefeign.AuthFeginService;
import org.springframework.stereotype.Component;

@Component
public class AuthFeginServiceHystrix implements AuthFeginService {

    @Override
    public Object getUserById(Integer userId) {
        return "获取用户数据，远程微服务暂不可用";
    }

    @Override
    public Object getRoleById(Integer userId) {
        return "获取角色数据，远程微服务暂不可用";
    }

    @Override
    public Object getUser(String token) {
        return "获取角色数据，远程微服务暂不可用";
    }


}
